<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:composite="http://java.sun.com/jsf/composite">

<composite:interface>
	<composite:attribute name="selectedEntity" required="true" />
</composite:interface>

<composite:implementation>
		<h:panelGrid columns="5" cellspacing="2">

			<p:outputLabel value="#{stdMsgs.student_id}" />
			<h:outputText value="#{cc.attrs.selectedEntity.studentId}" />
			<p:spacer width="10" />
			<p:outputLabel value="#{stdMsgs.dob}" />
			<h:outputText value="#{cc.attrs.selectedEntity.dob}" />


			<p:outputLabel value="#{stdMsgs.first_name}" />
			<h:outputText value="#{cc.attrs.selectedEntity.firstName}" />
			<p:spacer width="10" />
			<p:outputLabel value="#{stdMsgs.father_name}" />
			<h:outputText value="#{cc.attrs.selectedEntity.fatherName}" />


			<p:outputLabel value="#{stdMsgs.grand_father_name}" />
			<h:outputText value="#{cc.attrs.selectedEntity.grandFatherName}" />
			<p:spacer width="10" />
			<p:outputLabel value="#{stdMsgs.family_name}" />
			<h:outputText value="#{cc.attrs.selectedEntity.familyName}}" />

			<p:outputLabel value="#{stdMsgs.mother_name}" />
			<h:outputText value="#{cc.attrs.selectedEntity.motherName}" />
			<p:spacer width="10" />
			<p:outputLabel value="#{stdMsgs.create_date}" />
			<h:outputText value="#{cc.attrs.selectedEntity.createDate}" />

			<p:outputLabel value="#{stdMsgs.created_by}" />
			<h:outputText value="#{cc.attrs.selectedEntity.createdBy.name}" />
			<p:spacer width="10" />
			<p:outputLabel value="#{stdMsgs.update_date}" />
			<h:outputText value="#{cc.attrs.selectedEntity.updateDate}" />

			<p:outputLabel value="#{stdMsgs.updated_by}" />
			<h:outputText value="#{cc.attrs.selectedEntity.updatedBy.name}" />
		</h:panelGrid>	   
</composite:implementation>
</html>